home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_utilP.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  2.0 KB  |  61 lines

  1. /*****************************************************************************
  2.   FILE           : ui_utilP.ph
  3.   SHORTNAME      : ui_utilP.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : private header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer 
  10.   DATE           : 18.5.1990
  11.  
  12.   CHANGED BY     : Sven Doering
  13.   IDENTIFICATION : @(#)ui_utilP.ph    1.6 3/2/94
  14.   SCCS VERSION   : 1.6
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.  
  19. ******************************************************************************/
  20. #ifndef _UI_UTILP_DEFINED_
  21. #define _UI_UTILP_DEFINED_
  22.  
  23. /* begin global definition section */
  24.  
  25. Bool ui_isUnitVisibleInAnyDisplay(int unitNo);
  26.  
  27.  
  28. /* kernel handling */
  29. void             ui_checkError(krui_err error);
  30. void             ui_krui_setCurrentLink(int sourceNo, int targetNo, char *siteName);
  31. void             ui_correctName(char *string);
  32. void             ui_cutTrailingZeros(char *string);
  33. Bool             ui_krui_sitesExistInNetwork(void);
  34. Bool             ui_krui_setCurrentSite(int targetNo, char *siteName);
  35.  
  36. struct PosType   ui_utilGridToPix(struct Ui_DisplayType *displayPtr, struct PosType gridPos);
  37. struct PosType   ui_utilPixToGrid(struct Ui_DisplayType *displayPtr, struct PosType pixPos);
  38. /*struct PosType   ui_utilPixToAlignPix();*/
  39. struct PosType   ui_utilPixUpperLeft(struct Ui_DisplayType *displayPtr, struct PosType gridPos);
  40. struct PosType   ui_utilPixLowerRight(struct Ui_DisplayType *displayPtr, struct PosType gridPos, short int extent);
  41.  
  42. void             ui_utilChangeFlag(FlagType *flag_word, FlagType flag);
  43.  
  44. int              ui_utilSgnInt(int x);
  45. void             ui_utilMax(short int *x1Ptr, short int *x2Ptr);
  46. void             ui_utilNormalizeRect(struct PosType *pixPos1Ptr, struct PosType *pixPos2Ptr);
  47. /*void             ui_utilNormalizeCoord();*/
  48.  
  49.  
  50. /* end global definition section */
  51.  
  52. /* begin private definition section */
  53.  
  54. /* end private definition section */
  55.  
  56. #endif 
  57.  
  58.  
  59. /* end of file */
  60. /* lines: 51 */
  61.